\documentclass{article} % 这里使用了article文档类作为示例，但你可以根据需要更改为其他文档类  
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{hyperref}
\usepackage[table,xcdraw]{xcolor}
\usepackage{multirow}

\begin{document}  

\title{Demonstration of matlab eps}  
\author{xsro@foxmail.com}  
\maketitle  

We follow \url{https://ww2.mathworks.cn/help/matlab/ref/print.html} and use all eps options to produce a eps.
All are supported by latex epstopdf package and graphicx package

\begin{table}[h]  
    \centering  
    \caption{test matlab eps}  
    \label{tab:my_table}  
    \begin{tabular}{|c|c|}  
    \hline  
    \includegraphics[width=0.4\textwidth]{dotx=-satx} & 
    \includegraphics[width=0.4\textwidth]{dotx=-satx_epsc} \\ 
    eps & epsc\\\hline  
    \includegraphics[width=0.4\textwidth]{dotx=-satx_eps2} & 
    \includegraphics[width=0.4\textwidth]{dotx=-satx_epsc2} \\ 
    eps2 & epsc2\\\hline  
    \end{tabular}  
    \end{table} 

%https://www.tablesgenerator.com/
% Please add the following required packages to your document preamble:
% \usepackage[table,xcdraw]{xcolor}
% Beamer presentation requires \usepackage{colortbl} instead of \usepackage[table,xcdraw]{xcolor}
\begin{table}[h]
    \caption{Table of supported eps options in Matlab \url{https://ww2.mathworks.cn/help/matlab/ref/print.html?lang=en}}
    \begin{tabular}{lll}
    \rowcolor[HTML]{EAEAEA} 
    {\color[HTML]{212121} \textbf{Option}} & {\color[HTML]{212121} \textbf{Vector Graphics Format}}                       & {\color[HTML]{212121} \textbf{Corresponding File Extension}} \\
    \rowcolor[HTML]{FFFFFF} 
    {\color[HTML]{212121} '-dpdf'}         & {\color[HTML]{212121} Full page Portable Document Format (PDF) color}        & {\color[HTML]{212121} .pdf}                                  \\
    \rowcolor[HTML]{FFFFFF} 
    {\color[HTML]{212121} '-deps'}         & {\color[HTML]{212121} Encapsulated PostScript (EPS) Level 3 black and white} & {\color[HTML]{212121} .eps}                                  \\
    \rowcolor[HTML]{FFFFFF} 
    {\color[HTML]{212121} '-depsc'}        & {\color[HTML]{212121} Encapsulated PostScript (EPS) Level 3 color}           & {\color[HTML]{212121} .eps}                                  \\
    \rowcolor[HTML]{FFFFFF} 
    {\color[HTML]{212121} '-deps2'}        & {\color[HTML]{212121} Encapsulated PostScript (EPS) Level 2 black and white} & {\color[HTML]{212121} .eps}                                  \\
    \rowcolor[HTML]{FFFFFF} 
    {\color[HTML]{212121} '-depsc2'}       & {\color[HTML]{212121} Encapsulated PostScript (EPS) Level 2 color}           & {\color[HTML]{212121} .eps}                                  \\
    \rowcolor[HTML]{FFFFFF} 
    {\color[HTML]{212121} '-dmeta'}        & {\color[HTML]{212121} Enhanced Metafile (Windows® only)}                     & {\color[HTML]{212121} .emf}                                  \\
    \rowcolor[HTML]{FFFFFF} 
    {\color[HTML]{212121} '-dsvg'}         & {\color[HTML]{212121} SVG (Scalable Vector Graphics)}                        & {\color[HTML]{212121} .svg}                                 
    \end{tabular}
    \end{table}

  
\end{document}